{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            {include file="public/tophead" /}
            <form class="form-horizontal" method="post">
                <div class="tabs-container">
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a data-toggle="tab" href="#tab-1" aria-expanded="false">默认配置</a>
                        </li>


                    </ul>
                    <div class="tab-content">

                        <div id="tab-1" class="tab-pane active ">
                            <div class="ibox-content">
                                {php}
                                    $reigster_notice_1 = moduleConfig('reigster_notice_1');
                                    $reigster_notice_2 = moduleConfig('reigster_notice_2');
                                    $real_verify_notice = moduleConfig('real_verify_notice');
                                    $video_verify_notice = moduleConfig('video_verify_notice');
                                    $vip_notice = moduleConfig('vip_notice');
                                {/php}

                                {foreach $sexs as $key=>$val}
                                <div class="form-group-title">{$val}用户</div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">注册自动消息1：
                                        {if $development_display}<br><span style="color: red;">reigster_notice_1[性别id即{$key}]</span>{/if}</label>
                                    <div class="col-sm-9">
                                        <textarea style="resize:none;" class="form-control" name="reigster_notice_1[{$key}]" rows="4">{present name="$reigster_notice_1"}{$reigster_notice_1[$key]}{/present}</textarea>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">注册自动消息2：
                                        {if $development_display}<br><span style="color: red;">reigster_notice_2[性别id即{$key}]</span>{/if}</label>
                                    <div class="col-sm-9">
                                        <textarea style="resize:none;" class="form-control" name="reigster_notice_2[{$key}]" rows="4">{present name="$reigster_notice_2"}{$reigster_notice_2[$key]}{/present}</textarea>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-2 control-label">真人认证自动消息：
                                        {if $development_display}<br><span style="color: red;">real_verify_notice[性别id即{$key}]</span>{/if}</label>
                                    <div class="col-sm-9">
                                        <textarea style="resize:none;" class="form-control" name="real_verify_notice[{$key}]" rows="4">{present name="$real_verify_notice"}{$real_verify_notice[$key]}{/present}</textarea>
                                    </div>
                                </div>
                                    {if $key eq 1}
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">升级VIP自动消息：
                                            {if $development_display}<br><span style="color: red;">vip_notice[性别id即{$key}]</span>{/if}</label>
                                        <div class="col-sm-9">
                                            <textarea style="resize:none;" class="form-control" name="vip_notice[{$key}]" rows="4">{present name="$vip_notice"}{$vip_notice[$key]}{/present}</textarea>
                                        </div>
                                    </div>
                                    {else}
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">视频认证自动消息：
                                            {if $development_display}<br><span style="color: red;">video_verify_notice[性别id即{$key}]</span>{/if}</label>
                                        <div class="col-sm-9">
                                            <textarea style="resize:none;" class="form-control" name="video_verify_notice[{$key}]" rows="4">{present name="$video_verify_notice"}{$video_verify_notice[$key]}{/present}</textarea>
                                        </div>
                                    </div>
                                    {/if}
                                {/foreach}


                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{include file="public/footer" /}
{load href="__STYLE__/admin/plugins/iCheck/icheck.min.js"}
{load href="__STYLE__/admin/plugins/iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function () {
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        });
    });
    $("#upload").click(function () {
        layer.open({
            type: 2,
            title: '上传图片',
            shadeClose: true,
            shade: 0.2,
            area: ['70%', '60%'],
            skin: 'shangchuantup',
            content: "{:url('index/upload', ['type' => 'admin'])}",
            shift: -1,
            scrollbar: false,
            moveType: 1,
            moveOut: true
        });
    });
</script>
{include file="public/bottom" /}